// 暴露一个发送请求的params参数的接口
export interface ReqGetHospitalSetParams {
  page: number;
  limit: number;
  hosname?: string;
  hoscode?: string;
}

// 暴露一个hospital单行数据的接口
export interface HospitalSetItem {
  id: number;
  createTime: string;
  updateTime: string;
  isDeleted: number;
  param: {};
  hosname: string;
  hoscode: string;
  apiUrl: string;
  signKey: string;
  contactsName: string;
  contactsPhone: string;
  status: 0 | 1;
}

// 暴露一个响应体数据的接口
export interface ReqGetHospitalSetResponse {
  records: HospitalSetItem[];
  total: number;
  size: number;
  current: number;
  orders: [];
  hitCount: boolean;
  searchCount: boolean;
  pages: number;
}

//暴露一个添加医院信息的接口
export interface ReqAddHospitalSetParams {
  apiUrl: string;
  contactsName: string;
  contactsPhone: string;
  hoscode: string;
  hosname: string;
}

// 暴露一个通过id获取医院信息的接口
export interface ReqUpdateHospitalSetParams extends ReqAddHospitalSetParams {
  id:number
}
